#include "app.h"

void test_bitopt(void)
{
    U32 reg_value;

    printf("BITMASK = %x\n", BITMASK(8, 9));

    reg_value = 0xffffffff;
    BITCLR(reg_value, 8, 9);
    printf("BITCLR = %x\n", reg_value);

    reg_value = 0xffffffff;
    BITSET(reg_value, 8, 9, 2);
    printf("BITSET = %x\n", reg_value);
}